package com.macro.mall.mapper.admin;

import com.macro.mall.model.admin.BasicUsersMan;
import com.macro.mall.pojo.BasicUsersManResult;
import com.macro.mall.query.UsersManQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BasicUsersManMapper {

    int deleteByPrimaryKey(String key);

    int insert(BasicUsersMan record);

    int insertSelective(BasicUsersMan record);

    BasicUsersMan selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(BasicUsersMan record);

    int updateByPrimaryKeyWithBLOBs(BasicUsersMan record);

    int updateByPrimaryKey(BasicUsersMan record);


    List<BasicUsersManResult> selectList(UsersManQuery query);

    int insertBatch(@Param("usersManList") List<BasicUsersMan> usersManList);

}
